import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'normalize.css'
import '@/styles/common.less'
// 以插件的形式去注册全局组件  (好维护)
import componentPlugin from '@/components'
// 以插件的形式 注册指令 (好维护)
import directivePlugin from '@/directives'
// vue2  vue.component('组件名',引入的组件)
const app = createApp(App)
console.log('app', app)
app.use(componentPlugin).use(directivePlugin).use(store).use(router).mount('#app')
